#shader-graph {
  height: 100%;
  display: flex;
  flex-direction: column;
}
#shader-graph ui-link {
  margin-left: 2px;
  margin-right: 2px;
}
#shader-graph ui-graph-forge {
  flex: 1;
  background-color: #222;
}
#shader-graph .foreground {
  overflow: hidden;
  position: absolute;
  z-index: 998;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
#shader-graph .foreground .drag-area {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
#shader-graph .foreground .drag-area[disallowed-event] {
  pointer-events: none;
}
#shader-graph .foreground[disallowed-event] {
  pointer-events: none;
}
#shader-graph .mask[show] {
  opacity: 1;
}
#shader-graph .mask {
  position: absolute;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
}
#shader-graph .mask .mask-child {
  display: flex;
  z-index: 999;
  width: 100%;
  height: 100%;
  text-align: center;
  align-items: center;
  justify-content: center;
  background-color: rgba(2, 2, 2, 0.9);
  pointer-events: auto;
}
#shader-graph .mask .mask-child .button {
  margin: 2px;
  width: 100px;
  height: 24px;
  border: 1px solid;
  border-radius: 4px;
  line-height: 24px;
}
#shader-graph .mask .mask-child .button:hover {
  border: 1px solid var(--color-success-fill);
  color: var(--color-success-fill-emphasis);
}
#shader-graph .mask .mask-child .asset-missing {
  display: flex;
  align-items: center;
}
#shader-graph .mask .mask-child .need-create-new-asset {
  display: flex;
  align-items: center;
}
#shader-graph .mask .mask-child .asset-change {
  display: flex;
  align-items: center;
}
#shader-graph .mask .mask-child .button-group-horizontal {
  padding: 4px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
#shader-graph .mask .mask-child .button-group-vertical {
  padding: 4px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
#shader-graph .right-tabs {
  position: absolute;
  width: 28px;
  z-index: 999;
  top: 28px;
  right: 1px;
  display: flex;
  flex-wrap: wrap;
  background-color: #1F1F1F;
  box-shadow: inset 0 0 1px #2b2b2b;
}
#shader-graph .right-tabs .tab {
  width: 28px;
  height: 115px;
  writing-mode: tb;
  text-align: center;
  padding: 2px;
  cursor: pointer;
}
#shader-graph .right-tabs .tab[pressed] {
  background-color: #2B2B2B;
}
.float-window {
  position: absolute;
  pointer-events: auto;
  background-color: #2B2B2B;
  box-sizing: content-box;
  display: flex;
  flex-direction: column;
  user-select: none;
  border-radius: 2px;
  --point-width: 4px;
  --point-height: 4px;
  --point-position: absolute;
  --point-background-color: #fffa00;
  --point-cursor-tl: nwse-resize;
  --point-cursor-lb: nesw-resize;
  --line-width: 100%;
  --line-width-4: 4px;
  --line-height: 100%;
  --line-height-4: 4px;
  --line-position: absolute;
  --line-opacity: 0;
  --line-background-color: #7882ff;
  --line-cursor-lr: ew-resize;
  --line-cursor-tb: ns-resize;
}
.float-window[hidden] {
  display: none;
}
.float-window .header {
  display: flex;
  align-items: center;
  background-color: #141414;
  width: 100%;
  height: 25px;
}
.float-window .header .hide-button {
  position: absolute;
  right: 5px;
  color: #8F8F8F;
  cursor: pointer;
}
.float-window .header .hide-button:hover {
  color: #cccccc;
}
.float-window .header .title {
  display: flex;
  line-height: 25px;
  height: 25px;
  padding-left: 16px;
  padding-right: 16px;
  background-color: #2B2B2B;
  justify-content: space-between;
  color: #cccccc;
}
.float-window .top {
  width: var(--line-width);
  height: var(--line-height-4);
  cursor: var(--line-cursor-tb);
  position: var(--line-position);
  background-color: var(--line-background-color);
  opacity: var(--line-opacity);
  top: 0;
}
.float-window .bottom {
  width: var(--line-width);
  height: var(--line-height-4);
  cursor: var(--line-cursor-tb);
  position: var(--line-position);
  background-color: var(--line-background-color);
  opacity: var(--line-opacity);
  bottom: 0;
}
.float-window .left {
  width: var(--line-width-4);
  height: var(--line-height);
  cursor: var(--line-cursor-lr);
  position: var(--line-position);
  background-color: var(--line-background-color);
  opacity: var(--line-opacity);
  left: 0;
}
.float-window .right {
  width: var(--line-width-4);
  height: var(--line-height);
  cursor: var(--line-cursor-lr);
  position: var(--line-position);
  background-color: var(--line-background-color);
  opacity: var(--line-opacity);
  right: 0;
}
.float-window .top-left {
  width: var(--point-width);
  height: var(--point-height);
  cursor: var(--point-cursor-tl);
  position: var(--point-position);
  background-color: var(--point-background-color);
  opacity: var(--line-opacity);
  top: 0;
  left: 0;
}
.float-window .top-right {
  width: var(--point-width);
  height: var(--point-height);
  cursor: var(--point-cursor-lb);
  position: var(--point-position);
  background-color: var(--point-background-color);
  opacity: var(--line-opacity);
  top: 0;
  right: 0;
}
.float-window .bottom-left {
  width: var(--point-width);
  height: var(--point-height);
  cursor: var(--point-cursor-lb);
  position: var(--point-position);
  background-color: var(--point-background-color);
  opacity: var(--line-opacity);
  bottom: 0;
  left: 0;
}
.float-window .bottom-right {
  width: var(--point-width);
  height: var(--point-height);
  cursor: var(--point-cursor-tl);
  position: var(--point-position);
  background-color: var(--point-background-color);
  opacity: var(--line-opacity);
  bottom: 0;
  right: 0;
}
.graph-property .input {
  color: white;
}
.graph-property .section {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 4px;
}
.graph-property .property-title {
  display: flex;
  flex-direction: row;
  padding: 2px 0 2px 8px;
}
.graph-property .property-title .name {
  flex: 1;
  font-size: 12px;
  color: var(--color-normal-contrast-emphasis);
}
.graph-property .property-title .add {
  cursor: pointer;
  padding: 0 6px;
  font-size: 12px;
}
.graph-property .property-title .add:hover {
  color: var(--color-primary-contrast-emphasis);
}
.graph-property .property-contents {
  overflow-y: auto;
}
.graph-property .property-contents .item {
  display: flex;
  padding: 2px;
}
.graph-property .property-contents .item .prop {
  flex: 1;
  --left-width: 150px;
  width: 70%;
}
.graph-property .property-contents .item .prop .input {
  height: 22px;
}
.graph-property .property-contents .item .prop .label {
  border: 1px solid black;
  border-radius: 4px;
  background-color: black;
  width: 100%;
  user-select: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  display: flex;
}
.graph-property .property-contents .item .prop .label .name {
  padding-left: 2px;
  text-overflow: ellipsis;
}
.graph-property .property-contents .item .prop .label .key {
  font-size: 8px;
  padding-left: 2px;
}
.graph-property .property-contents .item .prop .label:hover {
  border-color: var(--color-focus-fill-emphasis);
}
.graph-property .property-contents .item .prop .content {
  display: flex;
}
.graph-property .property-contents .item .prop .content ui-prop {
  flex: 1;
}
.graph-property .property-contents .item .delete {
  width: 20px;
  cursor: pointer;
  padding-left: 2px;
  padding-right: 2px;
}
.graph-property .property-contents .item .delete .icon:hover {
  background-color: var(--color-hover-fill-normal);
}
.graph-property .property-menu {
  position: absolute;
  top: 45px;
  right: 4px;
  z-index: 2;
  background-color: var(--color-normal-fill-important);
  border: 1px solid var(--color-border-weak);
  border-radius: 4px;
  padding: 2px;
}
.graph-property .property-menu .option {
  display: block;
  padding: 0 12px;
  border-radius: 2px;
  margin: 2px;
  cursor: default;
}
.graph-property .property-menu .option:hover {
  background-color: var(--color-hover-fill-normal);
}
.graph-property .loading {
  position: absolute;
  display: flex;
  align-items: center;
  top: 25px;
  width: 100%;
  height: calc(100% - 25px);
  justify-content: center;
}
.create-node {
  box-shadow: rgba(63, 63, 63, 0.3) 0px 0px 10px 2px;
  display: flex;
}
.create-node .header {
  display: flex;
  align-items: center;
  background-color: #141414;
  width: 100%;
  height: 25px;
}
.create-node .title-label {
  margin-left: 8px;
}
.create-node .close {
  position: absolute;
  right: 8px;
  cursor: pointer;
}
.create-node .section {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 4px;
}
.create-node .search-group {
  display: flex;
}
.create-node .search-group .icon {
  margin-left: 4px;
  margin-right: 4px;
}
.create-node .search-group .input {
  flex: 1;
  margin-right: 4px;
}
.create-node .menus {
  height: 100%;
}
.preview {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
}
.preview .header {
  display: flex;
  align-items: center;
  background-color: #141414;
  width: 100%;
  height: 25px;
}
.preview .title-label {
  margin-left: 8px;
}
.preview .section {
  flex: 1;
  min-height: 0;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  flex-direction: row;
  height: 100%;
  width: 100%;
}
.preview .section > .loading {
  position: absolute;
  display: flex;
  align-items: center;
  top: 25px;
  width: 100%;
  height: calc(100% - 25px);
  justify-content: center;
}
.preview .section > .tools {
  position: absolute;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;
  right: 20px;
  top: 28px;
}
.preview .section > .tools .refresh {
  opacity: 0.3;
  margin-left: 2px;
  margin-right: 2px;
}
.preview .section > .tools .refresh:hover {
  opacity: 1;
}
.preview .section > .tools .light {
  opacity: 0.3;
  margin-left: 2px;
  margin-right: 2px;
  --ui-button-bg-color-pressed: rgba(255, 255, 255, 0);
}
.preview .section > .tools .light[pressed] {
  opacity: 1;
  color: white;
}
.preview .section > .tools .light:hover {
  opacity: 1;
}
.preview .section > .primitive-group {
  position: absolute;
  bottom: 6px;
  left: 25px;
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
}
.preview .section > .primitive-group ui-label {
  width: 50px;
}
.preview .section > .primitive-group ui-asset {
  width: calc(100% - 100px);
}
.preview .close {
  position: absolute;
  right: 5px;
  color: #8F8F8F;
  cursor: pointer;
}
.preview .close:hover {
  color: #cccccc;
}
